package com.five.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.five.dto.TeamTypeQueryDto;
import com.five.entity.TeamTypes;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author 86158
* @description 针对表【team_types(社团类型)】的数据库操作Mapper
* @createDate 2024-07-23 21:53:56
* @Entity com.five.entity.TeamTypes
*/
public interface TeamTypesMapper extends BaseMapper<TeamTypes> {
    //表格显示，查询数据
    List<TeamTypes> selectTeamTypes(TeamTypeQueryDto teamTypeQueryDto);
    Integer selectTeamTypeCount(TeamTypeQueryDto teamTypeQueryDto);
    //    删除数据
    int delete(QueryWrapper<TeamTypes> queryWrapper);
    //根据name查询数据
    TeamTypes selectByName(String name);
    //新增数据
    void insertTeamTypes(TeamTypes teamTypes);
}




